<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
<head>
<title>ϵͳ</title>
<%@ include file="/commons/meta.jsp"%>

</head>

<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="top"><div id="position">当前位置：系统管理 - 后台账号查询管理</div>
      <form name="form1" method="post" action="">
        <table width="95%" border="0" cellspacing="2" cellpadding="2">
          <tr>
            <td>
              <input type="button" name="Submit22" value="添加角色">
              <input type="button" name="Submit22" value="修改角色">
              <input type="button" name="Submit22" value="删除角色">
             </td>
          </tr>
        </table>
         <table width="100%"  border="0" cellspacing="0" cellpadding="0">
	    	<tr>
	        	<td>&nbsp;</td>
	        	<td>
	            	<!--声明权限树对象-->
	    			<script language="javascript" type="text/javascript"> 
	    				var tree = new Tree(); 
	    				tree.setTagId("id");
	    				tree.setImagePath("${ctx}/images/tree/");
	    				<s:iterator value="entites" status="status">
	    					tree.addNode(new Node(<s:if test="parent == null">null</s:if><s:else>${parent.id}</s:else>,${id}, "${name}", null,null)); 
	    				</s:iterator> 
	    				//显示树
	    				tree.view(); 
	    			</script>
                </td>
            </tr>
	    </table>  
      </form>    
      </td>
  </tr>
</table>
</body>
</html>
